
import 'package:core_foundation/model/model_user.dart';
import 'package:core_foundation/redux/actions/action_update_user.dart';

///
User reducerUser(User user, action) {
  if (action is ActionUpdateUser) {
    return action.user;
  } else {
    return user;
  }
}